package hb.software.teacher.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import edu.zut.hb.software.base.domain.BaseEntity;
import hb.software.teacher.category.TeacherCategory;

@Entity
@Table(name = "T_teacher")
public class Teacher extends BaseEntity<Long> {
	private static final long serialVersionUID = 4475744750767977852L;
	@ManyToOne
	@JoinColumn(name = "Category_ID")
	TeacherCategory teacherCategory;
	@Column
	String teacherscore;
	@Column
	String teachername;
	@Column
	String degree;
	@Column
	String title;
	@Column
	String teacherclass;
	@Column
	String teacheraddress;
	public TeacherCategory getTeacherCategory() {
		return teacherCategory;
	}
	public void setTeacherCategory(TeacherCategory teacherCategory) {
		this.teacherCategory = teacherCategory;
	}
	public String getTeacherscore() {
		return teacherscore;
	}
	public void setTeacherscore(String teacherscore) {
		this.teacherscore = teacherscore;
	}
	public String getTeachername() {
		return teachername;
	}
	public void setTeachername(String teachername) {
		this.teachername = teachername;
	}
	public String getTeacherclass() {
		return teacherclass;
	}
	public void setTeacherclass(String teacherclass) {
		this.teacherclass = teacherclass;
	}
	public String getTeacheraddress() {
		return teacheraddress;
	}
	public void setTeacheraddress(String teacheraddress) {
		this.teacheraddress = teacheraddress;
	}

	public String getDegree() {
		return degree;
	}

	public void setDegree(String degree) {
		this.degree = degree;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
}
